﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTOFrameworks;
using System.IO;
using System.Text.RegularExpressions;

namespace DTOFrameworks
{
    public class Forum : IEnumItem
    {
        Guid forumId;

        public Guid ForumId
        {
            get { return forumId; }
            set { forumId = value; }
        }

        string forumName;

        public string ForumName
        {
            get { return forumName; }
            set { forumName = value; }
        }

        string path;

        public string Path
        {
            get { return path; }
            set { path = value; }
        }

        #region IEnumItem 成员

        public string Name
        {
            get
            {
                return Name;
            }
            set
            {
                Name = value;
            }
        }

        public Guid Id
        {
            get
            {
                return ForumId;
            }
            set
            {
                ForumId = value;
            }
        }

        #endregion
    }

    public class Permission : IEnumItem
    {

        #region IEnumItem 成员
        string permission;
        public string Name
        {
            get
            {
                return permission;
            }
            set
            {
                permission = value;
            }
        }

        Guid permissionId;
        public Guid Id
        {
            get
            {
                return permissionId;
            }
            set
            {
                permissionId = value;
            }
        }

        #endregion
    }
}
